lib, list_sort: add list_sort from linux 3.14
authorHeiko Schocher <[email protected]>
Tue, 24 Jun 2014 08:10:01 +0000 (10:10 +0200)
committerTom Rini <[email protected]>
Mon, 25 Aug 2014 21:02:33 +0000 (17:02 -0400)
commitc068d44aac8e3bc3fa14ea60ecdfe52598d83096
tree1149dbbd206ca2170818a25ac3785a6d69c04b58
parent9dd228b5e702edb3295fe5cfee5e46e87233dc72
lib, list_sort: add list_sort from linux 3.14

from linux 3.14:

commit 455c6fdbd219161bd09b1165f11699d6d73de11c
Author: Linus Torvalds <[email protected]>
Date:   Sun Mar 30 20:40:15 2014 -0700

    Linux 3.14

Needed for the MTD/UBI/UBIFS resync

Just copied the files from Linux, and added in the c-file
the "#define __UBOOT__" for adding U-Boot special code. In
this case we use this just for adding including U-Boot
headers.

Signed-off-by: Heiko Schocher <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Sergey Lapin <[email protected]>
Cc: Scott Wood <[email protected]>
Cc: Tom Rini <[email protected]>
include/linux/list_sort.h [new file with mode: 0644]
lib/Makefile
lib/list_sort.c [new file with mode: 0644]